/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.itver.uml.palette;

/**
 *
 * @author Viruz
 */
import javax.swing.Action;
import org.netbeans.spi.palette.PaletteActions;
import org.openide.util.Lookup;

public class MyPaletteActions extends PaletteActions{

//    public static final DataFlavor MY_DATA_FLAVOR = new DataFlavor( MyItemData.class, "My Item Data" );

    @Override
    public Action[] getImportActions() {
        return null;
    }

    @Override
    public Action[] getCustomPaletteActions() {
        return null;
    }

    @Override
    public Action[] getCustomCategoryActions(Lookup lkp) {
        return null;
    }

    @Override
    public Action[] getCustomItemActions(Lookup lkp) {
        return null;
    }

    @Override
    public Action getPreferredAction(Lookup lkp) {
        return null;
    }

    //Empieza DND
//    private static class DragAndDrop extends DragAndDropHandler {
//        public void customize(ExTransferable exTransferable, Lookup lookup) {
//            final MyItemData data = lookup.lookup(MyItemData.class);
//            if( null != data ) {
//                exTransferable.put( new ExTransferable.Single( MY_DATA_FLAVOR ) {
//                    protected Object getData() throws IOException, UnsupportedFlavorException {
//                        return data;
//                    }
//                });
//            }
//        }
//    }
    // Termina DND
}
